export default {
	data() {
		return {
			repeatFlag: false,
			// 操作后的回调
			actionCallback: null
		};
	},
	methods: {
		//删除
		deleteContent(evaluate_id,is_first) {
			if (this.repeatFlag) return;
			this.repeatFlag = true;

			uni.showLoading({
				title: '操作中...',
				mask: true
			});
			this.$api.sendRequest({
				url: '/shopapi/goods/deleteContent',
				data: {
				       evaluate_id: evaluate_id,
					    is_first: is_first
				},
				success: res => {
					this.$util.showToast({
						title: res.message
					});
					if (res.code == 0) {
						this.$refs.mescroll.refresh();
					}
					this.repeatFlag = false;
					uni.hideLoading();
				}
			});
		},
	
	}
}
